package me.yobol.greentable.bean;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author Yobol
 * 
 */
public class OrderBean implements Serializable {

	private static final long serialVersionUID = 4290331900583786621L;

	private int orderId;
	private Timestamp orderTime;
	private int customerId;
	private int traderId;
	private int orderStatus;

	public OrderBean() {

	}

	public OrderBean(Timestamp orderTime, int customerId, int traderId,
			int orderStatus) {
		this.orderTime = orderTime;
		this.customerId = customerId;
		this.traderId = traderId;
		this.orderStatus = orderStatus;
	}

	public OrderBean(int orderId, Timestamp orderTime, int customerId,
			int traderId, int orderStatus) {
		this(orderTime, customerId, traderId, orderStatus);
		this.orderId = orderId;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public Timestamp getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Timestamp orderTime) {
		this.orderTime = orderTime;
	}

	public int getCustomerId() {
		return customerId;
	}

	public void setCustomerId(int customerId) {
		this.customerId = customerId;
	}

	public int getTraderId() {
		return traderId;
	}

	public void setTraderId(int traderId) {
		this.traderId = traderId;
	}

	public int getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}

}
